package com.kun.portal.webframe.dao;

import com.kun.portal.webframe.po.PurchasePlanPo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2018-07-10.
 */

@Repository
public interface PurchasePlanDao extends
        JpaRepository<PurchasePlanPo,String>,JpaSpecificationExecutor<PurchasePlanPo>{
    public List<PurchasePlanPo>findByState(String state);

}
